package smartcounters.androidclient;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.app.Activity;
import android.content.Intent;

public class WelcomeActivity extends Activity implements OnClickListener {
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.welcome_layout);
        
        Button buttonLogin = (Button)findViewById(R.id.buttonWelcomeLogin);
        buttonLogin.setOnClickListener(this);
    }
    
    public void onClick(View arg0) {
    	Intent intent = new Intent();
	    intent.setClass(this, LoginActivity.class);
	    startActivity(intent);
	}
}
